//
//  TimeReportCell.m
//  WOPrototype
//
//  Created by Olof Millberg on 2010-04-16.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import "TimeReportCell.h"

@implementation TimeReportCell

@synthesize dateLabel;
@synthesize timeLabel;
@synthesize commentLabel;
@synthesize background;

- (void) setSelected:(BOOL)isSelected animated:(BOOL)animated
{
	//	if (animated)
	//	{
	//		[UIView beginAnimations:nil context:nil];
	//		[UIView setAnimationDuration:0.4];
	//	}
	
	[super setSelected:isSelected animated:animated];
	if (isSelected)
		background.image = [UIImage imageNamed:@"cell_selected.png"];
	else
		background.image = [UIImage imageNamed:@"cell_neutral.png"];
	
	//	if (animated)
	//		[UIView commitAnimations];
}

@end
